<?php
wp_get_recent_posts( $args, $output ) ;
		   $args = array(
			'numberposts' => 5,
			'offset' => 0,
			'category' => 0,
			'orderby' => 'post_date',
			'order' => 'DESC',
			'post_type' => 'post',
			'post_status' => 'publish',
			'category__not_in' => array( 13),   
			'suppress_filters' => true );

			$recent_posts = wp_get_recent_posts( $args, ARRAY_A );
	foreach( $recent_posts as $recent ){ ?>
		<?php $post = get_post($recent["ID"]); //assuming $id has been initialized
						setup_postdata($post);       ?> 
                    <div class="font10 margin2 kotak1">
					   <div class="row">
                            <div class="col-md-2">
                                <div class="imgkiri2">
								<?php 
								if (has_post_thumbnail()){
								$thumb_id = get_post_thumbnail_id();
								$thumb_url_array = wp_get_attachment_image_src($thumb_id, 'recent-thumbnails', true);
								$thumb_url = $thumb_url_array[0]; }
								else $thumb_url="";
														?>
                                    <img src="<?php echo $thumb_url ?>" class="imgukuran2"/> <?php //} else { ?> <!-- <img src="" > --><?php //}?>
                                </div>
                            </div>
                            <div class="col-md-10 textrecentpost">
                            <span class="glyphicon glyphicon-time font10"></span>&nbsp; <?php the_date(); the_time(); //the_time("l, d F Y");?>  <?php the_time("g:i a"); ?> | <span class="glyphicon glyphicon-user"></span>&nbsp;<?php the_author_posts_link(); ?>
						<div><a class="fontjudul" href="<?php echo get_permalink($recent["ID"]) . '" title="Look '.esc_attr($recent["post_title"]).'" >' .   $recent["post_title"]; ?></a></div>
                              <?php the_excerpt(); ?>
                            </div>
                            <!-- <div style="color:#333; font-size:10px;"><span class="glyphicon glyphicon-thumbs-up"></span>&nbsp;1.232 | <span class="glyphicon glyphicon-star"></span>&nbsp;22 | <span class="glyphicon glyphicon-eye-open"></span>&nbsp;<?php the_views()?></div>-->
							</div>
                        </div>
                    
                    <div class="hr4"></div>
				
<?php } ?>